<!-- 原子力量updated：更新为BT3样式，提示文字加入了自己的link -->
<extend name="Base/common"/>

<!-- <block name="header">
    <header class="page-header bg-primary" id="overview">
        <div class="container-fluid text-center">
            <h2>{:C('CUSTOMER_SLOGAN')}</h2>
        </div>
    </header>
</block>
 -->
<block name="jumb">
    <div class="jumbotron">
      <h1>{:C('CUSTOMER_SLOGAN')}</h1>
      <p>{:C('CUSTOMER_BRIEF')}</p>
      <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p>
    </div>
</block>


<block name="side">
    <div class="col-md-3 bs-docs-sidebar">
        <ul class="nav nav-list bs-docs-sidenav">
            {:W('Category/lists', array(1, true))}
        </ul>
    </div>
</block>

<block name="body">
    <div class="col-md-9">
        <!-- Contents
        ================================================== -->
        <section id="contents">
            <article:list name="article" category="1" child="true">
                <div class="">
                    <h3><a href="{:U('Article/detail?id='.$article['id'])}">{$article.title}</a></h3>
                </div>
                <div>
                    <p class="lead">{$article.description}</p>
                </div>
                <div>
                    <span><a href="{:U('Article/detail?id='.$article['id'])}">查看全文</a></span>
                    <span class="pull-right">
                        <span class="author">{$article.uid|get_username}</span>
                        <span>于 {$article.create_time|date='Y-m-d H:i',###}</span> 发表在 <span>
                        <a href="{:U('Article/lists?category='.get_category_name($article['category_id']))}">{$article.category_id|get_category_title}</a></span> ( 阅读：{$article.view} )
                    </span>
                </div>
                <hr/>
            </article:list>

        </section>
    </div>
</block>